package com.cloud.mall.gateway.common;

public interface Constants {
    String CLIENT_ID = "client_id";
    String SCOPE = "scope";
    String GRANT_TYPE = "grant_type";



	// 响应请求成功
	String HTTP_RES_CODE_200_VALUE = "success";
	// 响应请求成功code
	Integer HTTP_RES_CODE_200 = 200;
	// 系统错误
	Integer HTTP_RES_CODE_500 = 500;

	// 响应暂未登录或token已经过期code
	Integer UNAUTHORIZED_CODE_401 = 401;
	String UNAUTHORIZED_MESSAGE = "无tocken";

    // 访问此资源需要完全的身份验证
    Integer CHECKAUTHORIZED_CODE_402 = 402;
    String CHECKAUTHORIZED_MESSAGE = "访问此资源需要完全的身份验证";

	// 有相关权限
	Integer FORBIDDEN_CODE_403 = 403;
	String FORBIDDEN_MESSAGE = "无有相关权限";

}
